
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>管理后台</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="keywords" content="">
  <meta name="description" content="">
  <link rel="stylesheet" href="/static/css/backstage/layui.css">
  <link rel="stylesheet" href="/static/css/backstage/global.css">
<script src="/static/js/backstage/layui/layui.js"></script>
</head>
<body>
<!--#if(admin_name!=null)-->
<div class="header" >
  <div class="main">
    <a  href="index.html" style="margin-left: 30px;line-height: 65px; color: white;font-size: 18px;">实验室成员管理系统后台</a>
    <div class="nav">
    
    </div>
    
    <div class="nav-user">      
      <!-- 登入后的状态 -->

      <a class="avatar">
        <img src="/static/images/backstage/8.jpg" onclick="updateInfo('修改资料','updateInfo')">
        <cite style="color: white;" onclick="updateInfo('修改资料','updateInfo')">
			${admin_name.a_username}
		</cite>
        <i style="color: white;"  onclick="location.href='/backstage/backstage_logout'">退出</i>
      </a>
      <div class="nav">
        <a onclick="setting('注册设置','regSetting')"><i class="iconfont icon-shezhi"></i>设置</a>
        <a href="/backstage/backstage_logout"><i class="iconfont icon-tuichu" style="top: 0; font-size: 22px;"></i>退出</a>
      </div>
    </div>
  </div>
</div>


	<div class="main fly-user-main layui-clear">
		<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
			<li class="layui-nav-item layui-this" ><a href="backstage"> <i
					class="layui-icon">&#xe609;</i> 首页 </a></li>

			<li class="layui-nav-item "><a href="backstage/audit" target="right"> <i
					class="layui-icon">&#xe63c;</i> 注册审核</a></li>
			#if(admin_name.a_id==1)
			<li class="layui-nav-item "><a href="backstage/role" target="right"> <i
					class="layui-icon">&#xe600;</i> 角色管理</a></li>
			#end
			<li class="layui-nav-item "><a href="backstage/user"  target="right"> <i
					class="layui-icon">&#xe60c;</i> 用户管理</a></li>
			<li class="layui-nav-item"><a href="backstage/group"  target="right"> <i
					class="layui-icon">&#xe630;</i> 组别管理</a></li>
			<li class="layui-nav-item"><a href="backstage/substance"  target="right"> <i
					class="layui-icon">&#xe60a;</i> 信息管理</a></li>
			<li class="layui-nav-item "><a href="backstage/feedback"  target="right"> <i
					class="layui-icon">&#xe63a;</i> 留言反馈</a></li>
			<li class="layui-nav-item  "><a href="javascript:void(0)" onclick="updateInfo('修改资料','updateInfo')"> <i
					class="layui-icon">&#xe620;</i> 修改资料 </a></li>
			<li class="layui-nav-item "><a href="404"  target="right"> <i
					class="layui-icon">&#xe61a;</i> 404错误页面 </a></li>
			<li class="layui-nav-item "><a href="/"  target="right"> <i
					class="layui-icon">&#xe61a;</i> 实验室成员管理系统首页 </a></li>
		</ul>

		<div class="site-tree-mobile layui-hide" onclick="mobile_click()">
			<i class="layui-icon">&#xe602;</i>
		</div>
		<div class="site-mobile-shade"></div>

		<div class="fly-panel fly-panel-user"  ">
			<div class="layui-tab layui-tab-brief" lay-filter="user">
				
				<div class="layui-tab-content" style="padding: 20px;padding-top: 0px;">
					
    					<iframe src="backstage/${admin_name.a_id==1?'role':'audit'}" width="88%" style="border: none;" height="800" border="none" name="right"></iframe>
					</div>					
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="/static/js/backstage/jquery-1.8.3.js"></script>
	<script type="text/javascript" src="/static/js/backstage/plugs.js" ></script>

<!--<link rel="stylesheet" href="/static/layer/layer.css" >-->
<!--<script type="text/javascript" src="/static/layer/layer.js"></script>-->
<script>
<!--layer.open({-->
	<!--content:'注册开启'-->
<!--});-->
		layui.use('element', function() {
			var element = layui.element();
		});
	</script>
<script>

	function mobile_click(){
		var nav=$(".layui-nav");
		var icon=$(".site-tree-mobile .layui-icon");
		if(nav.hasClass("layui-nav1"))
		{
			nav.removeClass("layui-nav1");
			icon.html("&#xe602;");
		}
		else
		{
			nav.addClass("layui-nav1");
			icon.html("&#xe603;");
		}

	}

	$(".layui-nav-item").click(function(){
		mobile_click();
	});

layui.cache.page = '';
layui.cache.user = {
  username: '游客'
  ,uid: -1
  ,avatar: '/static/images/backstage/00.jpg'
  ,experience: 83
  ,sex: '男'
};
layui.config({
  version: "2.0.0"
  ,base: 'mods'
}).extend({
  fly: 'index'
}).use('fly');
	//添加编辑弹出层
			function updateInfo(title, url_) {
				$.jq_Panel({
					title: title,
					iframeWidth: 500,
					iframeHeight: 300,
					url: "backstage/"+url_
				});
			}
			function setting(title, url_) {
				$.jq_Panel({
					title: title,
					iframeWidth: 400,
					iframeHeight: 200,
					url: "backstage/"+url_
				});
			}
</script>
<!--#else-->
<!--<script>-->
	<!--window.location.href="/backstage/signin";-->
<!--</script>-->
<!--#end-->
</body>
</html>